

package org.example.design.designmode.factory.standardsfactory;

import org.example.design.designmode.factory.simplefactory.Coures;
import org.example.design.designmode.factory.simplefactory.CouresFactory;

/**
 * @Auther: lingshi
 * @Date: 2020/5/9 23:07
 * @Description: 将工厂细节化、java python 分为两个工厂，使用时根据不同的工厂创建不同的实例
 */
public class CouresTest {
    public static void main(String[] args) throws InstantiationException, IllegalAccessException {
        CouresFactory c = new CouresFactory();
        Coures cs = c.getCoures(Coures.class);
        cs.getCoures();
    }
}
